package com.lgj.feign;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author: guangjie.liao
 * @Date: 2023/8/16 15:20
 * @Description: 灰度白名单用户配置
 */
@Data
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "gray")
public class GrayscaleWhiteListUser {
    /**
     * 灰度测试白名单用户
     */
    private List<String> users;
    /**
     * 灰度服务版本号
     */
    private String grayscaleVersion;
    /**
     * 生产服务版本号
     */
    private String productVersion;
}
